/**
 * Created by Emily on 16/1/28.
 */
var WebSocket = require('ws');
var ws = new WebSocket('ws://localhost:5454');

ws.on('open', function open() {
    console.log('connected!')

    ws.send({"action":"authenticate"});
})